Skip to content

2000 max players + launcher Players Online tab - #44

Draft
nobody71004 wants to merge 25 commits into
masterfrom
cursor/max-players-launcher-tab-5b75
Draft

2000 max players + launcher Players Online tab#44
nobody71004 wants to merge 25 commits into
masterfrom
cursor/max-players-launcher-tab-5b75

Conversation

@nobody71004

Copy link
Copy Markdown
Owner

Summary

Sets a hard join cap of 2000 players and adds a PLAYERS ONLINE tab in the Avalonia launcher that polls live headcounts.

Server

  • REDSYNC_MAX_PLAYERS (default 2000) enforced in AuthPacketHandler (ServerFull reject)
  • Status HTTP binds public (*) on listenPort+2 (Official :2079, BETA :2179)
  • /status and /players return { players, maxPlayers, full, port }
  • Updated release/server/RedSync.Server.dll

Launcher

  • Tab RELAYS (existing browser + PLAYERS column)
  • Tab PLAYERS ONLINE (live playing / 2000, LINK state)
  • Polls each server鈥檚 /status every ~12s
  • servers.json includes maxPlayers + statusPort

VPS follow-up (required for live counts)

  1. Deploy new DLL to Official + BETA volumes and restart
  2. Run release/ops/publish-status-ports.sh so Pelican publishes 2079/2179
  3. Rebuild/republish launcher zip with updated UI
Open in WebOpen in Cursor

cursoragent and others added 25 commits July 17, 2026 21:32
Clone live redsync-pelican volume/resources into /opt/redsync-beta,
run redsync-beta on host :2177 without touching Official :2077, and
list the beta endpoint in launcher servers.json.

Co-authored-by: XEROX710 <nobody71004@users.noreply.github.com>
Co-authored-by: XEROX710 <nobody71004@users.noreply.github.com>
Co-authored-by: XEROX710 <nobody71004@users.noreply.github.com>
Clone Official via ServerCreationService (same egg/limits), allocate
:2177, copy files into the Wings volume, and remove the standalone
docker twin so beta shows in panel.xbuniverse.duckdns.org.

Co-authored-by: XEROX710 <nobody71004@users.noreply.github.com>
Co-authored-by: XEROX710 <nobody71004@users.noreply.github.com>
Co-authored-by: XEROX710 <nobody71004@users.noreply.github.com>
Co-authored-by: XEROX710 <nobody71004@users.noreply.github.com>
Co-authored-by: XEROX710 <nobody71004@users.noreply.github.com>
Co-authored-by: XEROX710 <nobody71004@users.noreply.github.com>
Co-authored-by: XEROX710 <nobody71004@users.noreply.github.com>
Co-authored-by: XEROX710 <nobody71004@users.noreply.github.com>
Enforce REDSYNC_MAX_PLAYERS (default 2000) at auth, expose
players/maxPlayers on public status HTTP (listenPort+2), and add a
PLAYERS ONLINE tab that polls /status for live headcounts.

Co-authored-by: XEROX710 <nobody71004@users.noreply.github.com>
Co-authored-by: XEROX710 <nobody71004@users.noreply.github.com>
Replace HttpListener with TcpListener on IPAddress.Any so published
status ports work inside Pelican containers. Add script to bring
Official back and probe /status.

Co-authored-by: XEROX710 <nobody71004@users.noreply.github.com>
Windows one-shot: build win-x64 launcher zip, push RedSyncLauncher.zip
+ HTML mirrors to xbuniverse media/www paths.

Co-authored-by: XEROX710 <nobody71004@users.noreply.github.com>
Co-authored-by: XEROX710 <nobody71004@users.noreply.github.com>
Co-authored-by: XEROX710 <nobody71004@users.noreply.github.com>
Co-authored-by: XEROX710 <nobody71004@users.noreply.github.com>
Co-authored-by: XEROX710 <nobody71004@users.noreply.github.com>
Co-authored-by: XEROX710 <nobody71004@users.noreply.github.com>
Co-authored-by: XEROX710 <nobody71004@users.noreply.github.com>
Co-authored-by: XEROX710 <nobody71004@users.noreply.github.com>
Co-authored-by: XEROX710 <nobody71004@users.noreply.github.com>
Co-authored-by: XEROX710 <nobody71004@users.noreply.github.com>
Pelican writes storage/logs/laravel-YYYY-MM-DD.log, so the BETA page
fix script no longer misses ERROR lines by looking only for laravel.log.

Co-authored-by: XEROX710 <nobody71004@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants